package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: likew
 * @Date: 2022/4/17
 *
 * 采购模块实体类
 */

@TableName("procurement")
@Data
public class Procurement {
    @TableId(type = IdType.AUTO)
    private Integer    id;
    private String     model;
    private BigDecimal price;
    private String     classify;
    private String     name;
    private String     number;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date       createTime;
    
    private String     userId;
    private String     busName;
    private BigDecimal   busPrice;
    private String     username;
    private String     status;
    
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date       deliveryTime;

}
